package com.atjava.nebula.core.tablexml.view;

import java.io.Serializable;

import com.atjava.jox.annotation.ClassProps;
import com.atjava.jox.annotation.FieldProps;
import com.atjava.jox.annotation.FieldProps.ElementType;

@ClassProps(alias = "section")
public class Section implements Serializable{

	@FieldProps(alias = "class")
	private String clazz;
	
	@FieldProps
	private String title;
	
	@FieldProps
	private String style;
	
	@FieldProps(type = ElementType.ELEMENT)
	private Query query;
	
	@FieldProps(type = ElementType.ELEMENT)
	private Grid grid;
	
	@FieldProps(type = ElementType.ELEMENT)
	private Tree tree;
	
	public String getClazz() {
		return clazz;
	}

	public void setClazz(String clazz) {
		this.clazz = clazz;
	}

	public Query getQuery() {
		return query;
	}

	public void setQuery(Query query) {
		this.query = query;
	}

	public Grid getGrid() {
		return grid;
	}

	public void setGrid(Grid grid) {
		this.grid = grid;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Tree getTree() {
		return tree;
	}

	public void setTree(Tree tree) {
		this.tree = tree;
	}

	public String getStyle() {
		return style;
	}

	public void setStyle(String style) {
		this.style = style;
	}

}
